Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODWindowState


AcquireWindow

The AcquireWindow method returns a reference to the window object with the specified ID.

ODWindow AcquireWindow (in ODID id);
id
The window ID for the window object.
return value
A reference to the window object with the specified ID, or kODNULL if the window has been deleted or does not exist.
DISCUSSION
This method increments the reference count of the returned window. When you have finished using that window, you should call its Release method.

SEE ALSO
The ODID type (page 899).
The ODWindow::GetID method (page 829).
"Window IDs" on page 226 in OpenDoc Programmer's Guide.
"The Open Method of Your Part Editor" on page 228 in OpenDoc Programmer's Guide.
"Showing the Dialog Box" on page 235 in OpenDoc Programmer's Guide.
"Closing the Dialog Box" on page 235 in OpenDoc Programmer's Guide.
"View in Window" on page 257 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help